M1918 BAR (Browning Automatic Rifle) 
--------------

Installation:

--------
textures
--------
- Open up sparkIV or OpenIV and browse, then go to pc/models/cdimages and open up weapons.img
- In spark IV hit import and import the .wtd and .wtr files (w_m4) then hit save, In openIV enter edit mode,
right click on w_m4.wtd and click replace (replace it with the .wtd in this file) do the same with the .wtr file

-----
Sound
-----
- Navigate to pc/audio/sfx (in sparkIV or OpenIV) open up resident.rpf, click resident and export the 
'weapons.ivaud' file
- Open the weapons.ivaud file with gtaivaud 1.1.5 and replace the files 'M4_SHOT1_L' and 
'M4_SHOT1_R' (numbers 173 and 174). I named them accordingly just to make it easy but u can use either
one of my files to replace them both (it's the same audio file).
- After replacing the two files save the ivaud file (if you don't have a backup, use 'save as' and save it to a 
different location)
- Open up your game again in spark or openiv and replace the weapons.ivaud file in the location you got it from

---------
Fire-rate
---------
- Changing the following is in my view very important for having an authentic bar (along with the sound)

- If you want to change it open up weaponsinfo.xml with notepad, scroll down to this part:


		<weapon type="M4">
		<data slot="RIFLE" firetype="INSTANT_HIT" damagetype="BULLET" group="RIFLE_ASSAULT" targetrange="65.0" weaponrange="70.0" clipsize="20" ammomax="600" timebetweenshots="133">
			<damage base="40" networkplayermod="2.5" networkpedmod="1.25"/>
			<physics force="75.0"/>
			<reload time="2066" fasttime="1166" crouchtime="2066"/>

			<aiming accuracy="0.7">
				<offset         x="0.14" y="1.0" z="0.55"/>
				<crouchedoffset x="0.08"  y="1.0" z="0.12"/>
				<reticule standing="0.6" ducked="0.5" scale="0.3"/>
			</aiming>

			<pickup regentime="600000" ammoonstreet="80"/>

			<controller>
        <rumble duration="90" intensity="0.1"/>
			</controller>

			<flags>
				<flag>GUN</flag>
				<flag>CAN_AIM</flag>
				<flag>CAN_FREE_AIM</flag>
				<flag>ANIM_RELOAD</flag>
				<flag>ANIM_CROUCH_FIRE</flag>
				<flag>2HANDED</flag>
			</flags>
		</data>

		<assets model="w_m4">
			<anim group="gun@ak47">
				<rates firerate="1.0" blindfirerate="1.0"/>
			</anim>

			<effects>
				<muzzle fx="muz_machine"/>
				<shell fx="weap_ejected_rifle"/>
			</effects>
		</assets>
	</weapon>


- You can copy it and place it in your weaponsinfo (overwright the original m4 part) but I recommend just changing
the following stuff one by one (don't copy these lines, just change the numbers like I did):

- rates firerate=1.0 blindfirerate= 1.0  (so just change it from the default 1.2 to 1.0 on both, the BAR
usually fires at a slower rate that's why I changed it to slower, believe me it sounds much cooler)

- damagebase='40' (default is 30, just change it to 40, this will make up for the slower fire rate)

- aiming accuracy = 0.7 (default is 0.5, because of the slowfire rate it's more logical that the gun is more
accurate)

-clipsize=20 (default is 30, BAR's usually a 20 rounds clip)

Save it to a different location (as far as I know you can't immediatly save) and then copy (or cut) it and place
it to where you got it from (common/data) 


--------
Credits
--------
I converted the model and textures from a fallout3 mod (20th century weaponsmod v5 by einharjar)
I extracted the soundfile from  a call of duty 1 mod (BTCod)

Thanks to rumblylwc for yet another of his great HD icons

---------
Questions
---------
If you have any ferther questions , you can PM me or leave a message on the site (gta4-mods.com)